

//手动调用构造函数，不分配内存
template <typename T>
inline void constructInPlace(T *ptr)
{
	new (static_cast<void*>(ptr)) T(); //placement new
}
//声明变长指令
#define BUFFER_CMD(cmd,name,len) char buffer##name[len]={0};\
			cmd *name = (cmd *)buffer##name; constructInPlace(name);
